3.9 How to disable events over a certain area?

Test: This course is a lot of fun. This course is a lot of fun. This course is a lot of fun. This course is a lot of fun.

Sign In

Click me, and I will disappear with the blanket.

  1. How to disable events over a certain area? Any good idea?
    • Display a rectangle over a certain area with a certain color and a certain opacity level, and disable all the target events on the rectangle.
    • How disable all events on the rectangle?
      • Just no event listener registered.

  2. Learning outcomes
    • How to disable events over a certain area.